export const demoMixin = {
    //把共享的逻辑抽出来，然后进行混入，之后哪个组件用到哪个组件调用
    data(){
        return{
            message:"hello demo"
        }
    },
    methods:{
        foo(){
            console.log("demo")
        }
    },
    created() {
        console.log("create mixin")
    }
}